home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form SimpleForm
- BorderStyle = 3 'Fixed Dialog
- Caption = "Send Your Comments to Terckland Software"
- ClientHeight = 5550
- ClientLeft = 855
- ClientTop = 1455
- ClientWidth = 9750
- Height = 5925
- Icon = "OCXTERCF.frx":0000
- Left = 810
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 5550
- ScaleWidth = 9750
- ShowInTaskbar = 0 'False
- Top = 1125
- Width = 9840
- Begin VB.Frame Frame2
- Caption = "User Information:"
- Height = 3855
- Left = 120
- TabIndex = 25
- Top = 0
- Width = 9495
- Begin VB.Frame Frame6
- Caption = "Mail System:"
- Height = 615
- Left = 240
- TabIndex = 33
- Top = 1440
- Width = 9135
- Begin VB.OptionButton bMS1
- Caption = "Lotus cc:Mail"
- Height = 255
- Left = 120
- TabIndex = 11
- Top = 240
- Width = 1575
- End
- Begin VB.OptionButton bMS2
- Caption = "Lotus Notes"
- Height = 255
- Left = 1920
- TabIndex = 12
- Top = 240
- Width = 1215
- End
- Begin VB.OptionButton bMS4
- Caption = "Microsoft Exchange"
- Height = 255
- Left = 5280
- TabIndex = 14
- Top = 240
- Width = 1815
- End
- Begin VB.OptionButton bMS3
- Caption = "Microsoft Mail"
- Height = 255
- Left = 3600
- TabIndex = 13
- Top = 240
- Width = 1575
- End
- Begin VB.OptionButton bMS5
- Caption = "POP3/SMTP"
- Height = 255
- Left = 7560
- TabIndex = 15
- Top = 240
- Value = -1 'True
- Width = 1335
- End
- End
- Begin VB.Frame Frame5
- Caption = "Operating System:"
- Height = 615
- Left = 4920
- TabIndex = 32
- Top = 840
- Width = 4455
- Begin VB.OptionButton bOS1
- Caption = "Win 3.1x"
- Height = 255
- Left = 240
- TabIndex = 8
- Top = 240
- Width = 1095
- End
- Begin VB.OptionButton bOS2
- Caption = "Win95"
- Height = 255
- Left = 1560
- TabIndex = 9
- Top = 240
- Value = -1 'True
- Width = 855
- End
- Begin VB.OptionButton bOS3
- Caption = "Win NT 3.51"
- Height = 255
- Left = 2640
- TabIndex = 10
- Top = 240
- Width = 1455
- End
- End
- Begin VB.Frame Frame4
- Caption = "Mail eXtension Version:"
- Height = 615
- Left = 240
- TabIndex = 31
- Top = 840
- Width = 4575
- Begin VB.OptionButton bOCX16
- Caption = "OCX-16"
- Height = 255
- Left = 120
- TabIndex = 3
- Top = 240
- Width = 975
- End
- Begin VB.OptionButton bOCX32
- Caption = "OCX-32"
- Height = 255
- Left = 1080
- TabIndex = 4
- Top = 240
- Value = -1 'True
- Width = 855
- End
- Begin VB.OptionButton bVBX
- Caption = "VBX"
- Height = 255
- Left = 2040
- TabIndex = 5
- Top = 240
- Width = 735
- End
- Begin VB.OptionButton bVCL16
- Caption = "VCL-16"
- Height = 255
- Left = 2760
- TabIndex = 6
- Top = 240
- Width = 855
- End
- Begin VB.OptionButton bVCL32
- Caption = "VCL-32"
- Height = 255
- Left = 3600
- TabIndex = 7
- Top = 240
- Width = 855
- End
- End
- Begin VB.Frame Frame3
- Caption = "Note Part:"
- Height = 1575
- Left = 240
- TabIndex = 30
- Top = 2160
- Width = 9015
- Begin VB.TextBox szNote
- Height = 1215
- Left = 120
- MultiLine = -1 'True
- TabIndex = 16
- Text = "OCXTERCF.frx":0442
- Top = 240
- Width = 8775
- End
- End
- Begin VB.TextBox szCompany
- Height = 285
- Left = 4200
- TabIndex = 1
- Text = "UserCompany"
- Top = 360
- Width = 1335
- End
- Begin VB.TextBox szEmail
- Height = 285
- Left = 7200
- TabIndex = 2
- Text = "YourE-mail@domain.com"
- Top = 360
- Width = 2175
- End
- Begin VB.TextBox szName
- Height = 285
- Left = 1200
- TabIndex = 0
- Text = "UserName"
- Top = 360
- Width = 1695
- End
- Begin VB.Label Label4
- Caption = "Mail X Version:"
- Height = 255
- Left = 240
- TabIndex = 29
- Top = 1200
- Width = 1215
- End
- Begin VB.Label Label3
- Caption = "Company Name:"
- Height = 255
- Left = 3000
- TabIndex = 28
- Top = 360
- Width = 1215
- End
- Begin VB.Label Label2
- Caption = "Your e-mail Address:"
- Height = 255
- Left = 5640
- TabIndex = 27
- Top = 360
- Width = 1575
- End
- Begin VB.Label Label1
- Caption = "Your Name:"
- Height = 255
- Left = 240
- TabIndex = 26
- Top = 360
- Width = 1095
- End
- End
- Begin VB.Frame Frame1
- Caption = "Server: Configuration:"
- Height = 1455
- Left = 120
- TabIndex = 17
- Top = 3960
- Width = 5775
- Begin VB.CommandButton Command7
- Caption = "SET Server"
- Height = 375
- Left = 4200
- TabIndex = 22
- Top = 840
- Width = 1335
- End
- Begin VB.CommandButton Command8
- Caption = "SET Server"
- Height = 375
- Left = 4200
- TabIndex = 21
- Top = 360
- Width = 1335
- End
- Begin VB.TextBox szSMTP
- Height = 285
- Left = 1560
- TabIndex = 19
- Top = 360
- Width = 2415
- End
- Begin VB.TextBox szPOP
- Height = 285
- Left = 1560
- TabIndex = 20
- Top = 840
- Width = 2415
- End
- Begin VB.Label Label5
- Caption = "POP Server:"
- Height = 255
- Left = 240
- TabIndex = 24
- Top = 840
- Width = 975
- End
- Begin VB.Label Label6
- Caption = "SMTP Server:"
- Height = 255
- Left = 240
- TabIndex = 23
- Top = 360
- Width = 1215
- End
- End
- Begin VB.CommandButton Command1
- Caption = "Submit Message to ""Terckland Software"""
- Height = 495
- Left = 6000
- TabIndex = 18
- Top = 3960
- Width = 3255
- End
- Begin Mailx16Lib.MForm MForm1
- Left = 7680
- Top = 4680
- _Version = 65542
- _ExtentX = 2170
- _ExtentY = 500
- _StockProps = 0
- MXFormName = "FormTag1"
- End
- Begin Mailx16Lib.MSess MSess1
- Left = 9000
- Top = 4440
- _Version = 65542
- _ExtentX = 900
- _ExtentY = 900
- _StockProps = 0
- LogonUI = 0 'False
- Mail_Type = 3
- User = "Mail_X_User"
- DownLoadMsg = 0 'False
- End
- Begin Mailx16Lib.MMsg MMsg1
- Left = 7080
- Top = 4440
- _Version = 65542
- _ExtentX = 900
- _ExtentY = 900
- _StockProps = 0
- MarkAsRead = 0 'False
- BindString = "MSess1"
- End
- Begin Mailx16Lib.MReci MReci1
- Left = 6240
- Top = 4440
- _Version = 65542
- _ExtentX = 900
- _ExtentY = 900
- _StockProps = 0
- BindString = "MMsg1"
- End
- Begin VB.Label Label8
- Caption = "July 1996"
- Height = 255
- Left = 6120
- TabIndex = 35
- Top = 5040
- Width = 3375
- End
- Begin VB.Label Label7
- Caption = "Terckland Software 1996"
- Height = 255
- Left = 6120
- TabIndex = 34
- Top = 4680
- Width = 3375
- End
- Attribute VB_Name = "SimpleForm"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- If szEmail.Text = "" Then
- MsgBox "Invalid e-Mail Address"
- Exit Sub
- End If
- If szName.Text = "" Then
- MsgBox "Invalid User Name"
- Exit Sub
- End If
- If MSess1.Logon = True Then
- MReci1.Clear
- MReci1.Action = ACTION_INSERTCUSTOM
- MReci1.RecipientName = "73000.1661@compuserve.com"
- MReci1.RecipientAddress = "73000.1661@compuserve.com"
- MReci1.RecipientClass = 1
- MSess1.ReturnAddress = szEmail.Text
- MSess1.RealName = szName.Text
-
- MMsg1.Action = ACTION_NEW
- MMsg1.WorkingMsg = COMPOSE_MSG
- MReci1.Action = ACTION_RECIP_SET
- MMsg1.Subject = "Mail eXtension Technical Support Version 1.60"
- szFinalText = szCompany.Text + " Wrote:" + Chr(13) + Chr(10) + "Mail X Version:"
- If bOCX16.Value = True Then
- szFinalText = szFinalText + "OCX16" + Chr(13) + Chr(10)
- End If
- If bOCX32.Value = True Then
- szFinalText = szFinalText + "OCX32" + Chr(13) + Chr(10)
- End If
- If bVCL16.Value = True Then
- szFinalText = szFinalText + "VCL16" + Chr(13) + Chr(10)
- End If
- If bVCL32.Value = True Then
- szFinalText = szFinalText + "VCL32" + Chr(13) + Chr(10)
- End If
- If bVBX.Value = True Then
- szFinalText = szFinalText + "VBX" + Chr(13) + Chr(10)
- End If
-
- szFinalText = szFinalText + "Operating System: "
- If bOS1.Value = True Then
- szFinalText = szFinalText + "Windows 3.1" + Chr(13) + Chr(10)
- End If
-
- If bOS2.Value = True Then
- szFinalText = szFinalText + "Windows 95" + Chr(13) + Chr(10)
- End If
-
- If bOS3.Value = True Then
- szFinalText = szFinalText + "Windows NT 3.51" + Chr(13) + Chr(10)
- End If
-
- szFinalText = szFinalText + "Mail System: "
- If bMS1.Value = True Then
- szFinalText = szFinalText + "Lotus cc:Mail" + Chr(13) + Chr(10)
- End If
-
- If bMS2.Value = True Then
- szFinalText = szFinalText + "Lotus Notes" + Chr(13) + Chr(10)
- End If
-
- If bMS3.Value = True Then
- szFinalText = szFinalText + "Microsoft Mail" + Chr(13) + Chr(10)
- End If
-
- If bMS4.Value = True Then
- szFinalText = szFinalText + "Microsoft Exchange" + Chr(13) + Chr(10)
- End If
-
- If bMS5.Value = True Then
- szFinalText = szFinalText + "POP3/SMTP Driver" + Chr(13) + Chr(10)
- End If
-
- szFinalText = szFinalText + Chr(13) + Chr(10) + szNote
-
-
- MMsg1.NoteText = szFinalText
- MMsg1.Action = ACTION_SENDMSG
- If MMsg1.ErrorNum = 0 Then
- MsgBox "Message has been sent"
- Else
- MsgBox "Error Sending The Mail message"
- End If
- Else
- MsgBox "No Active Session available"
- End If
- End Sub
- Private Sub Command7_Click()
- MSess1.POPServer = szPOP.Text
- End Sub
- Private Sub Command8_Click()
- MSess1.SMTPServer = szSMTP.Text
- End Sub
- Private Sub Form_Load()
- MSess1.Logon = True
- If MSess1.Logon = True Then
- szPOP = MSess1.POPServer
- szSMTP = MSess1.SMTPServer
- End If
- End Sub
- Private Sub Option2_Click()
- End Sub
-